Loupe - Log - Monitor - Resolve
Gibraltar.Agent Namespace / Packager Class / SendToFileAsync Method / SendToFileAsync(Predicate<SessionSummary>,Boolean,String) Method
A delegate to evaluate sessions and determine which ones to send.
True to have every included session marked as read upon successful completion.
The file name and path to write the final package to.

In This Topic
    SendToFileAsync(Predicate<SessionSummary>,Boolean,String) Method
    In This Topic
    Asynchronously write the completed package to the provided full file name (without extension) and path. The extension will be set to glp automatically.
    Syntax
    'Declaration
     
    
    Public Overloads Sub SendToFileAsync( _
       ByVal sessionMatchPredicate As Predicate(Of SessionSummary), _
       ByVal markAsRead As Boolean, _
       ByVal fullFileNamePath As String _
    ) 

    Parameters

    sessionMatchPredicate
    A delegate to evaluate sessions and determine which ones to send.
    markAsRead
    True to have every included session marked as read upon successful completion.
    fullFileNamePath
    The file name and path to write the final package to.
    Exceptions
    ExceptionDescription
    A required parameter was null.
    The provided file information is not a fully qualified file name and path.
    Remarks
    The EndSend event will be raised when the send operation completes. Any provided extension will be removed and replaced with the standard Loupe package extension.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also